home *** CD-ROM | disk | FTP | other *** search
-
- //------------------------------------------------------------------->
- //
- // thing-4.inc
- //
- // "Easy POV Oven"
- //
- // Written By: Paul T. Dawson
- // ptdawson@voicenet.com
- // http://www.voicenet.com/~ptdawson
- //
- // All code and techniques are PUBLIC DOMAIN - have fun with it!
- //
- //------------------------------------------------------------------->
- //
- // Thing_4 is another jumble of spheres, all random colors.
- //
- //------------------------------------------------------------------->
- //
- // These spheres poke through the bottom of the pan, and through the
- // wooden table, but you can't see it in the final scene!?!
-
- #declare Thing_4 =
-
- union {
-
- #declare A = 1 #while ( A <= 200 )
-
- sphere { 0, 0.5
- scale < 8.0, 0.1, 1.0 >
-
- #declare RR = rand(R1)+0.3-0.3
- #declare GG = rand(R1)+0.3-0.3
- #declare BB = rand(R1)+0.3-0.3
- pigment { color rgb < RR, GG, BB > }
-
- #declare XROT = rand(R1)*360
- #declare YROT = rand(R1)*360
- #declare ZROT = rand(R1)*360
- rotate < XROT, YROT, ZROT >
-
- } // End of sphere.
-
- #declare A = A + 1 #end
-
- scale < 1.2, 1, 1.2 >
-
- finish { F_MetalE }
-
- } // End of union.
-
- //------------------------------------------------------------------->
- //
- // End of this file.
-
-